package org.arl.modem.transportARQ;

public class TxHelper {
   private int blockId;
   private long lastPktTxTimestamp;
   private long expectedACKTimestamp;
   private boolean isAcked;

   public TxHelper(int blockId, long lastPktTxTimestamp, long expected) {
      super();
      this.blockId = blockId;
      this.lastPktTxTimestamp = lastPktTxTimestamp;
      this.expectedACKTimestamp = expected;
   }

   public long getExpectedACKTimestamp() {
      return expectedACKTimestamp;
   }

   public void setExpectedACKTimestamp(long expectedACKTimestamp) {
      this.expectedACKTimestamp = expectedACKTimestamp;
   }

   public int getBlockId() {
      return blockId;
   }

   public void setBlockId(int blockId) {
      this.blockId = blockId;
   }

   public long getLastPktTxTimestamp() {
      return lastPktTxTimestamp;
   }

   public void setLastPktTxTimestamp(long lastPktTxTimestamp) {
      this.lastPktTxTimestamp = lastPktTxTimestamp;
   }

   public boolean isAcked() {
      return isAcked;
   }

   public void setAcked(boolean isAcked) {
      this.isAcked = isAcked;
   }

}
